package com.mtnz.njk.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Description: 快递信息实体类
 * @Author: FBL
 * @CreateDate: 2019\8\26 0026 8:25
 * @Version: 1.0
 */
@Data
@Table(name = "express")
public class ExpressEntity {
    @Id
    @Column(name = "express_id")
    private Integer expressId;
    @Column(name = "express_userName")
    private String expressUserName;
    @Column(name = "express_phone")
    private String expressPhone;
    @Column(name = "express_city")
    private String expressCity;
    @Column(name = "express_address")
    private String expressAddress;
    @Column(name = "express_company")
    private String expressCompany;
    @Column(name = "express_sendNum")
    private String expressSendNum;
    @Column(name = "express_sendGoods")
    private String expressSendGoods;
    @Column(name = "express_info")
    private String expressInfo;
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @Column(name = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
